import { Field } from "@/api/service/field/type";

export const showForm = ref(false);
const formObj: Field = {
  fieldId: "",
  fieldName: "",
  status: "0",
  isDel: "",
  fieldType: "0"
};
export const form = ref<Field>({
  ...formObj
});

export const resetForm = () => {
  form.value = {
    ...formObj
  };
};
